<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<link rel="stylesheet" href="${ctx}/hplus/font-awesome/css/iconfont.css">
<nav class="navbar-default navbar-static-side" role="navigation">
	<div class="sidebar-collapse">
		<ul class="nav" id="side-menu">
			<li class="nav-header text-center">

				<div class="dropdown profile-element">
					<span> <img alt="image"  width="64px" height="64px"
						src="${ctx}/hplus/img/logo.png" />
					</span> <a data-toggle="dropdown" class="dropdown-toggle"
						href="index.html#"> <span class="clear"> <span
							class="block m-t-xs"> <strong class="font-bold"></strong>
						</span> <span class="text-muted text-xs block">${user_in_session}<b
								class="caret"></b></span>
					</span>
					</a>
					<ul class="dropdown-menu animated flipInX m-t-xs">
						<li><a href="${ctx}/login/logout">安全退出</a></li>
					</ul>
					
				</div>
				<div class="logo-element text-center">
						<span> <img alt="image"  width="24px" height="24px"
						src="${ctx}/hplus/img/logo.png" />
					</span>
				</div>
			</li>
            <li>
                <a href="${ctx}/send/service/list"><i class="icon iconfont">接口管理</i> </a>
            </li>
            <li>
                <a href="${ctx}/send/developer/list"><i class="icon iconfont">开发者管理</i></a>
            </li>

		</ul>

	</div>
</nav>


<script type="text/javascript">
	$(function() {
		$(".sidebar-collapse").slimScroll({height:"100%",railOpacity:.9,alwaysVisible:!1});
		//判断浏览器是否为移动端的浏览器
		if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){
			$("body").css("height","5000px");
			$("#page-wrapper").css("height","5000px");
		}else{
			$("#page-wrapper").css("overflow-y","false");
			$("#page-wrapper").slimScroll({height:"100%",railOpacity:.9,alwaysVisible:!1});
		}
	})
</script>
